#include "rexp.h"

bool rexp_test_match_found()
{
  const char *pstring      = "wertwert.cxx";
  const char *pattern      = "[.](cxx|cpp|cc|c)($|:)";
  bool        match_result = r_exp::match(pstring, pattern);
  return match_result;
}


bool rexp_test_match_not_found()
{
  const char *pstring      = "wertwert.cx";
  const char *pattern      = "[.](cxx|cpp|cc|c)($|:)";
  bool        match_result = r_exp::match(pstring, pattern);
  return (match_result == false) ? true : false;
}


